logstash-del: 
    cmd.run: #执行本地命令
        - name: rpm -e logstash
        - onlyif: rpm -q logstash  
